﻿
using RayDen.RayEngine.Engines.PathTracer;
using RayDen.RayEngine.Samplers;

namespace RayDen.RayEngine
{
    public class PathFactory
    {


        private static readonly PathFactory instance = new PathFactory();
        public static PathFactory Instance { get { return instance; } }

        public PathFactory() { }

        public PathSamplerBase CreatePath(SurfaceSampler ss)
        {

            return new PathTracerPath() { SurfaceSampler = ss };
            //return new VolumePathTracerPath() { SurfaceSampler = ss};
        }

        public VolumePathTracerPath CreateVolumePath(SurfaceSampler ss)
        {
            return new VolumePathTracerPath() { SurfaceSampler = ss };
        }


    }
}
